package com.xjtu.project.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xjtu.project.mapper.LogMapper;
import com.xjtu.project.model.domain.Log;


import com.xjtu.project.service.LogService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86185
* @description 针对表【log】的数据库操作Service实现
* @createDate 2025-07-04 17:56:53
*/
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, Log>
    implements LogService {

    @Override
    public Page<Log> getLogs(Long page, Long size) {
        Page<Log> logs = new Page<>(page, size);
        Page<Log> p = lambdaQuery().page(logs);
        return p;
    }
}




